body {
    background-image: url(../imgs/historyroute/route.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 -80px;
}

p {
    font-family: SourceHanSansCN-ExtraLight;
    font-weight: 100;
    font-size: 15px;
    color: rgb(0, 0, 0, 0.7);
}

.main {
    background-color: #fff;
    height: 200px;
    width: 1655px;
    position: absolute;
    transform: translateX(-5px);
    bottom: 0;
    border-radius: 50px 50px 0 0;
    box-shadow: 15px #757575;
    display: flex;
}

.left {
    position: fixed;
    top: 40%;
    left: 80px;
    width: 150px;
    height: 100px;
    transform: translateY(-50%);
}

.date {
    width: 190px;
    height: 36px;
    border: 1px solid black;
    transform: translateY(20px);
    border-radius: 20px;
}

.left img {
    width: 135px;
    height: 68px;
    position: relative;
    left: 20%;
}

.date p {
    line-height: 50%;
    letter-spacing: 2px;
}

.date .year {
    float: left;
    margin-left: 20px;
}

.date .month {
    float: right;
    margin-right: 20px;
}

.mid {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 120px;
}

.mid img {
    width: 700px;
    height: 130px;
}

.right .time {
    background-color: #5BA8E0;
    width: 225px;
    height: 45px;
    border: 0 solid;
    border-radius: 25px;
}

.right {
    position: fixed;
    right: 50px;
    width: 225px;
    height: 120px;
    transform: translate(-100px, 45px);
}

.time .p1 {
    color: white;
    float: left;
    font-size: 12px;
    height: 25px;
    width: 60px;
    letter-spacing: 2px;
    line-height: 23px;
    position: relative;
    left: 2%;
}

.time .p2 {
    color: white;
    float: right;
    font-size: 12px;
    height: 25px;
    width: 100px;
    letter-spacing: 2px;
    line-height: 23px;
    position: relative;
    right: 15%;
}

.cost {
    background-color: #52E4A1;
    width: 225px;
    height: 46px;
    border: 0 solid;
    border-radius: 25px;
    position: relative;
    bottom: -25px;
}

.cost .p1 {
    color: white;
    float: left;
    font-size: 12px;
    height: 25px;
    width: 60px;
    letter-spacing: 2px;
    line-height: 23px;
    position: relative;
    left: 12.5%;
}

.p1::after {
    content: "";
    height: 24px;
    width: 0.5px;
    background-color: white;
    position: absolute;
    top: 50%;
    transform: translate(10px, -50%);
}

.cost .p2 {
    color: white;
    float: right;
    font-size: 12px;
    height: 25px;
    width: 60px;
    letter-spacing: 2px;
    line-height: 23px;
    position: relative;
    right: 25%;
}

.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(200, 200, 200, 0.7);
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    height: 20px;
    margin-top: 10px;
    margin-right: 20px;
}

.back-btn:hover {
    background-color: #ccc;
    border-color: #aaa;
    color: #fff;
}

.back-btn i {
    margin-right: 5px;
}

.backdiv {
    margin-left: 40px;
}

/*返回按钮动画开始*/
@keyframes enterFromTop {
    0% {
        transform: translateY(-80px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes leaveToTop {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-80px);
        opacity: 0;
    }
}

/* 鼠标悬停时应用进入动画 */
.return-button:hover,
.return-button.is-visible {
    animation: enterFromTop 0.5s forwards;
}

/* 鼠标离开后的隐藏动画，假设有一个辅助类 '.is-leaving' */
.return-button.is-leaving {
    animation: leaveToTop 0.5s forwards;
}

.X {
    width: 10px;
    height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 50%;
}

.X::before,
.X::after {
    content: "";
    position: absolute;
    background-color: #666666;
    width: 2px;
    height: 20px;
}

.X::before {
    transform: rotate(-45deg);
}

.X::after {
    transform: rotate(45deg);
}

.return-button {
    position: relative;
    left: 43.5%;
    transform: translateX(-50%);
    top: 15px;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.5s ease-out;
    transform: 0.5s ease-out;
    border: 0 solid;
    border-radius: 40px;
    width: 225px;
    height: 45px;
    z-index: 10;
    display: inline;
}